package ro.gillardon.commons.dto;

import java.time.LocalDateTime;

import ro.gillardon.commons.Price;
import ro.gillardon.commons.enums.City;
import ro.gillardon.commons.enums.Company;

public class PlaneDTO {

  private Company company;
  private City from;
  private City to;
  private LocalDateTime departStart;
  private LocalDateTime departEnd;
  private LocalDateTime returnStart;
  private LocalDateTime returnEnd;
  private Price price;

  public PlaneDTO() {
    // TODO Auto-generated constructor stub
  }

  public String getCompany() {
    return this.company.toString();
  }

  public void setCompany(final Company company) {
    this.company = company;
  }

  public String getFrom() {
    return this.from.toString();
  }

  public void setFrom(final City from) {
    this.from = from;
  }

  public String getTo() {
    return this.to.toString();
  }

  public void setTo(final City to) {
    this.to = to;
  }

  public String getDepartStart() {
    return this.departStart.toString();
  }

  public void setDepartStart(final LocalDateTime departStart) {
    this.departStart = departStart;
  }

  public String getDepartEnd() {
    return this.departEnd.toString();
  }

  public void setDepartEnd(final LocalDateTime departEnd) {
    this.departEnd = departEnd;
  }

  public String getReturnStart() {
    return this.returnStart.toString();
  }

  public void setReturnStart(final LocalDateTime returnStart) {
    this.returnStart = returnStart;
  }

  public String getReturnEnd() {
    return this.returnEnd.toString();
  }

  public void setReturnEnd(final LocalDateTime returnEnd) {
    this.returnEnd = returnEnd;
  }

  public String getPrice() {
    return this.price.toString();
  }

  public void setPrice(final Price price) {
    this.price = price;
  }

}
